跳转到主要内容
POST
/
modules
/
id
/
{mid}
/
action
执行模块 `action.sh` 并返回输出
curl --request POST \
  --url http://{host}:{port}/api/v1/superuser/modules/id/{mid}/action \
  --header 'Authorization: Bearer <token>'
[
  {
    "type": "<string>",
    "stdout": "<string>",
    "stderr": "<string>"
  }
]

Documentation Index

Fetch the complete documentation index at: https://oom-wg.dev/llms.txt

Use this file to discover all available pages before exploring further.

授权

Authorization
string
header
必填

后端管理密码

同时支持 Authorization: Bearer <password>Authorization: <password>

路径参数

mid
string
必填

模块 ID

响应

输出信息列表

type
string
必填
Allowed value: "stdio"
stdout
string
stderr
string
Last modified on May 28, 2026